package com.imooc;

import java.util.Scanner;

public class SwitchDemo {

	public static void main(String[] args) {
		
		System.out.println("请输入星期:");
		Scanner sc = new Scanner(System.in);
		String week = sc.next();
		switch(week) {
		case "Monday":
			System.out.println("星期一");
			break;
		case "Tuesday":
			System.out.println("星期二");
			break;
		case "Wednesday":
			System.out.println("星期三");
			break;
		case "Thursday":
			System.out.println("星期四");
			break;
		case "Friday":
			System.out.println("星期五");
			break;
		case "Saturday":
			System.out.println("星期六");
			break;
		case "Sunday":
			System.out.println("星期天");
			break;
		default:
			System.out.println("输入错误");
		}
	}

}
